﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoffeeTeaTrading.Core.Infrastructure.Utils
{
    public class RuleViolationException : ApplicationException
    {
        public IEnumerable<IRuleViolation> Violations { get; private set; }

        public RuleViolationException(IEnumerable<IRuleViolation> ruleViolations)
        {
            Violations = ruleViolations;
        }
    }
}
